/**
   * @Author: szm
   * @Date: 2023-11-09
   * @Description: 流程配置
   */

import {
    Get,
    PutForm,
    Put,
    Post,
    Delete,
    PostForm
} from '@/utils/request'


//流程分页列表
export function getFlowPage() {
    return Get("flow/page")
}

//流程新增
export function createFlowConfig(data) {
    return Post("flow", data)
}

//流程修改
export function editFlowConfig(data) {
    return Put("flow", data)
}

//流程详情
export function getFlowInfo(id) {
    return Get("flow/" + id)
}

//删除
export function delFlow(id) {
    return Delete("flow/" + id)
}

//流查询节点列表
export function getNodeList() {
    return Get("basic-config/node/list")
}
